package com.itbaizhan.service;

import com.itbaizhan.fallback.PaymentServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author spf
 * @date 2024/3/10
 * @time 14:47
 */
@Service
@FeignClient(value = "cloud-provider-payment", fallback = PaymentServiceFallback.class)
public interface IndexService {

    @GetMapping("/index")
    public String index();

}
